-- GENERATED SPELL FOR [The Reak] --


function spell0_8212(pUnit, Event) --@Black Sludge,n/a--
pUnit:FullCastSpellOnTarget(7279,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8212', 33000, 1)
end

function Sorts_8212(pUnit, Event)
local choix_sorts_8212 = math.random(0, 0)
if choix_sorts_8212 == 0 then
pUnit:RegisterEvent('spell0_8212', 1, 1)
end
end

function mob8212_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8212', math.random(1500, 3000), 1)
end

function mob8212_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8212_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8212_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8212, 1, 'mob8212_Action')
RegisterUnitEvent(8212, 2, 'mob8212_Leave')
RegisterUnitEvent(8212, 3, 'mob8212_Kill')
RegisterUnitEvent(8212, 4, 'mob8212_Die')
